projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8678588
)
add windows debug
author
Joey Hess
<joeyh@joeyh.name>
Thu, 30 Jan 2025 21:45:34 +0000
(17:45 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Thu, 30 Jan 2025 21:45:34 +0000
(17:45 -0400)
Annex/ReplaceFile.hs
patch
|
blob
|
history
diff --git
a/Annex/ReplaceFile.hs
b/Annex/ReplaceFile.hs
index 3af555d39dc415a5d33cac222036cf70838c94c2..7c42532acbf885c6c89a24eb03043874b93b01b8 100644
(file)
--- a/
Annex/ReplaceFile.hs
+++ b/
Annex/ReplaceFile.hs
@@
-63,6
+63,7
@@
replaceFile' createdirectory file checkres action = withOtherTmp $ \othertmpdir
let basetmp = relatedTemplate' (P.takeFileName file)
#else
let basetmp = toRawFilePath "t"
+ liftIO $ hPutStrLn stderr $ show ("replaceFile debug", file, P.takeFileName file, relatedTemplate' (P.takeFileName file))
#endif
withTmpDirIn (fromRawFilePath othertmpdir) (toOsPath basetmp) $ \tmpdir -> do
let tmpfile = toRawFilePath tmpdir P.</> basetmp